package cn.wygandwdn.core.annotation;

import cn.wygandwdn.core.spring.CustomScannerRegistrar;
import org.springframework.context.annotation.Import;

import java.lang.annotation.*;

/**
 * @description:
 * @author: WYG
 * @time: 2021/10/25 21:46
 */
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.TYPE)
@Import(CustomScannerRegistrar.class)
@Inherited
public @interface ServiceScan {
    /**
     * 服务扫描路径
     */
    String[] basePackages() default "";
}
